package com.example.controller;

import com.example.BaseController;
import com.example.dto.ReceivingAddressDto;
import org.springframework.validation.BindingResult;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.validation.Valid;

@RestController
@RequestMapping("/receiving")
public class ReceivingController extends BaseController {

    @RequestMapping("/addReceivingAddress")
    public String addReceivingAddress(@Valid ReceivingAddressDto receivingAddressDto){
        return createJson("1","");
    }
}
